<?
//获取nav-itemed，控制侧边栏展开

if($_REQUEST['nav-itemed']=="member")
{$navi_member="layui-nav-itemed";}

if($_REQUEST['nav-itemed']=="department")
{$navi_department="layui-nav-itemed";}

if($_REQUEST['nav-itemed']=="employee")
{$navi_employee="layui-nav-itemed";}

if($_REQUEST['nav-itemed']=="finance")
{$navi_finance="layui-nav-itemed";}

if($_REQUEST['nav-itemed']=="equipment")
{$navi_equipment="layui-nav-itemed";}


if($_REQUEST['nav-itemed']=="receipt")
{$navi_receipt="layui-nav-itemed";}


if($_REQUEST['nav-itemed']=="material")
{$navi_material="layui-nav-itemed";}

if($_REQUEST['nav-itemed']=="user")
{$navi_user="layui-nav-itemed";}


if($_REQUEST['nav-itemed']=="menu")
{$navi_menu="layui-nav-itemed";}

?>





<?
//财务用侧边栏
if($_SESSION['userterm']==1){?>
<ul  class="layui-nav layui-nav-tree left_area" >


    <li class="layui-nav-item <?echo $navi_equipment ?>">
        <a href="javascript:;">设备管理</a>

        <dl class="layui-nav-child">
<dd><a href="<?echo $domain?>/controlbase/equipment/detail-list.php?nav-itemed=equipment">设备列表</a></dd>


            <dd><a href="<? echo $domain?>/controlbase/repair/detail-list.php?nav-itemed=equipment">维修记录</a></dd>

            <dd><a href="<? echo $domain?>/controlbase/repair/detail-add.php?nav-itemed=equipment">申请维修</a></dd>

<dd><a href="<?echo $domain?>/controlbase/equipment/detail-add.php?nav-itemed=equipment">新增设备</a></dd>


<dd><a href="<?echo $domain?>/controlbase/equipment/detail-move.php?nav-itemed=equipment">设备调拨</a></dd>

<dd><a href="<?echo $domain?>/controlbase/equipment/detail-scrap.php?nav-itemed=equipment">设备报废</a></dd>








        <dl class="layui-nav-child">
            <dd><a href="<?echo $domain?>/controlbase/location/detail-list.php?nav-itemed=equipment">办公室 / 部门 管理</a></dd>



        </dl>

    </li>




    <li class="layui-nav-item"></li>



<!--    <li class="layui-nav-item --><?//echo $navi_equipment ?><!--">-->
<!--        <a href="javascript:;">设备管理</a>-->
<!---->
<!--        <dl class="layui-nav-child">-->
<!--            <dd><a href="--><?//echo $domain?><!--/controlbase/equipment/detail-list.php?nav-itemed=equipment">设备列表</a></dd>-->
<!--            <dd><a href="--><?//echo $domain?><!--/controlbase/rental/detail-list.php?nav-itemed=equipment">领取记录</a></dd>-->
<!--            <dd><a href="--><?//echo $domain?><!--/controlbase/repair/detail-list.php?nav-itemed=equipment">维修记录</a></dd>-->
<!---->
<!---->
<!--        </dl>-->
<!---->
<!--    </li>-->








    <li class="layui-nav-item <?echo $navi_user ?>">
        <a href="javascript:;">用户管理</a>

        <dl class="layui-nav-child">
            <dd><a href="<?echo $domain?>/controlbase/department/detail-list.php?nav-itemed=user">部门管理</a></dd>
            <dd><a href="<?echo $domain?>/admin_list_control.php?nav-itemed=user">用户列表</a></dd>
            <dd><a href="<?echo $domain?>/controlbase/user/setup_password.php?nav-itemed=user">个人中心</a></dd>


        </dl>

    </li>







    <li class="layui-nav-item"><a href="<?echo $domain?>/controlbase/feestatistics/admin_statistics_countor_meal.php">餐费统计</a></li>
    <li class="layui-nav-item"><a href="<?echo $domain?>/controlbase/finance/detail-list.php">收支管理</a></li>
<!--    <li class="layui-nav-item" ><a href="/admin_statistics_countor_cost.php">代扣伙食费统计</a></li>-->

<!--    <li class="layui-nav-item"><a href="/admin_list.php">会员充值</a></li>-->
    <li class="layui-nav-item"><a href="<?echo $domain?>/admin_addmoney_list.php">充值查询</a></li>

<!--    <li class="layui-nav-item"><a href="/admin_user_password_re.php">重置会员密码</a></li>-->


    <li class="layui-nav-item  <?echo $navi_menu ?>">

        <a href="javascript:;">菜式设置</a>

                <dl class="layui-nav-child">
                    <dd><a href="<?echo $domain?>/controlbase/menu/admin_productset.php?nav-itemed=menu">菜单列表</a></dd>
                    <dd><a href="<?echo $domain?>/controlbase/dishes/detail-list.php?nav-itemed=menu">菜式库管理</a></dd>
                    <dd><a href="<?echo $domain?>/controlbase/menu/admin_productadd.php?nav-itemed=menu">新增餐单菜式</a></dd>
                    <dd><a href="<?echo $domain?>/controlbase/menu/admin_productadd_mulity.php?nav-itemed=menu">批量增加餐单菜式</a></dd>
                    <dd><a href="<?echo $domain?>/controlbase/menu/admin_productadd_mulity2.php?nav-itemed=menu">批量增加餐单菜式(测试)</a></dd>
                </dl>


 </li>





    <li class="layui-nav-item"><a href="<?echo $domain?>/admin_order.php">饭堂点餐查询</a></li>



	<li class="layui-nav-item"><a href="<?echo $domain?>/controlbase/feedback/detail-list.php">满意度调查表</a></li>



    <li class="layui-nav-item"><a href="<?echo $domain?>/front/m2/coresection/admin-logout.php">退出登录</a></li>
</ul>






<?}else{?>



<ul  class="layui-nav layui-nav-tree left_area" >

    <li class="layui-nav-item"><a href="<?echo $domain?>/admin_order.php" target="_blank">订单查询(领餐)</a></li>
    <li class="layui-nav-item"><a href="<?echo $domain?>/controlbase/finance/detail-list.php">收支管理</a></li>
    <li class="layui-nav-item"><a href="<?echo $domain?>/admin_productset.php">菜式设置</a></li>
    <li class="layui-nav-item"><a href="<?echo $domain?>/admin_statistics.php">订单统计</a></li>


    <li class="layui-nav-item"><a href="<?echo $domain?>/front/m2/coresection/admin-logout.php">退出登录</a></li>

    <li class="layui-nav-item"><a href="<?echo $domain?>/front/m2/coresection/admin-logout.php">退出登录</a></li>
</ul>
<?}?>